import request from '@/utils/request'

// 查询单小项列表
export function listFormsettingsmall(query) {
  return request({
    url: '/manage/formsettingsmall/list',
    method: 'get',
    params: query
  })
}

// 查询单小项详细
export function getFormsettingsmall(formSettingSmallId) {
  return request({
    url: '/manage/formsettingsmall/' + formSettingSmallId,
    method: 'get'
  })
}

// 新增单小项
export function addFormsettingsmall(data) {
  return request({
    url: '/manage/formsettingsmall',
    method: 'post',
    data: data
  })
}

// 修改单小项
export function updateFormsettingsmall(data) {
  return request({
    url: '/manage/formsettingsmall',
    method: 'put',
    data: data
  })
}

// 删除单小项
export function delFormsettingsmall(formSettingSmallId) {
  return request({
    url: '/manage/formsettingsmall/' + formSettingSmallId,
    method: 'delete'
  })
}
